<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0"/>
    <title>index</title>
    <link rel="stylesheet" href="css/base.css"/>
    <link rel="stylesheet" href="less/index.css"/>

</head>
<body>

    <div class='mainPage'>
        <header>
            <a href="javascript:;"><img src="images/index/header_logo.png" alt="" class="logo"/></a>
            <a href="javascript:;"><img src="images/index/header_app.png" alt="" class="app"/></a>
        </header>
        <div class='content'>
            <!--搜索栏-->
            <form action="" class="clearfix">
                <div class="searchBar">
                    <div class="searchContainer">
                        <input type="text" id="searchText" placeholder="请输入你想比价的商品"/>
                        <input type="submit" id="searchSubmit" value="搜索"/>
                        <!--模拟百度模糊搜索userBox-->
                        <div class="userBox">
                        </div>
                    </div>
                </div>
            </form>
            <!--菜单栏-->
            <div class="menu clearfix">
<!--                    <a href="javascript:;">
                        <img src="images/index/gengduo.png" alt=""/>
                        <p>更多</p>
                    </a>-->
            </div>
            <!--商品折扣列表-->
            <div class="superDiscount clearfix">
                <div class="superTitle clearfix">
                    <p class="f_left">超值折扣推荐</p>
                    <a href="javascript:;"><img src="images/index/more.png" alt="" class="f_right"/></a>
                </div>

                <div class="productList clearfix">
                    <ul clear="clearfix general">

                    </ul>
                </div>

                <div class="moreDiscountInfo clearfix">
                    <a href="moneyctrl.html" class="moreInfoBtn">
                        更多优惠信息 »
                    </a>
                </div>
            </div>
            <!--品牌排行-->
            <div class="rankingContainer clearfix">
                <div class="brandRanking">
                    <div class="superTitle clearfix">
                        <p class="f_left">品牌排行</p>
                        <a href="javscript:;"><img src="images/index/more.png" alt="" class="f_right"/></a>
                    </div>
                </div>
            </div>
            <!--网页底部-->
            <div class="bottom clearfix">
                <div class="footTop clearfix">
                    <a href="javascript:;" class="logIn f_left">登录</a>
                    <a href="javascript:;" class="register f_left">注册</a>
                    <a href="#" class="backTop f_left">
                        <img src="images/index/top.jpg" alt=""/>返回顶部
                    </a>
                </div>
                <div class="footer">
                    <p><a href="javascript:;">手机APP下载</a>
                        <a href="javascript:;">慢慢买手机版</a>
                        --掌上手机平台
                    </p>
                    <p>m.manmanbuy.com</p>
                </div>
            </div>
        </div>
    </div>
</body>
<script src="js/url.js"></script>
<script src="lib/jquery/jquery.min.js"></script>
<script src="lib/flexible/flexible.js"></script>
<script src="lib/template/template.js"></script>
<script src="js/index.js"></script>
<script type="text/html" id="menu">
    {{each result as value i}}
    <a href="{{value.titlehref}}">
       <!--{{=value.img}}-->
        <img src="images/index/ic_bcj.png" alt=""/>
        <p>{{value.name}}</p>
    </a>
    {{/each}}
</script>
<script type="text/html" id="goodList">
    {{each result as value i}}
    <li>
        <a href="saveMoneyDetail.html?productid={{value.productId}}" class="clearfix" id="{{value.productId}}">
            <img src="images/index/goodsExample.jpg" class="item" alt=""/>
            <div class="superDes">
                <p>{{value.productName}}<span class="productPinkage">{{value.productPinkage}}</span></p>
                <span class="source">{{value.productFrom}}|<span>{{value.productTime}}</span></span>
                <span class="comments"><img src="images/index/comments.bmp" alt=""/>
                    <i>{{(/\d/).exec(value.productComCount)[0]}}</i></span>
            </div>
        </a>
    </li>
    {{/each}}
</script>

</html>